﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MonopolyGame;

namespace Game_Tests
    {
    [TestClass]
    public class UnitTest1
        {
        public static Dies dies = new Dies();
        [TestInitialize]
        public void TestInitialize()
            {
            //dies.isRolled = true;
            //dies.result1 = 3;
            //dies.result2 = 4;
            }

        [TestMethod]
        public void Test_Roll()
            {
            TestInitialize();
            int lowerRange = 2;
            int higherRange = 12;
            Assert.IsTrue(dies.Roll() > lowerRange, "Dies roll lower than 2");
            Assert.IsTrue(dies.Roll() < higherRange, "Dies roll higher than 12");

            TestCleanUp();
            }

        [TestCleanup]
        public void TestCleanUp()
            {
            //ActualCircle = null;
            //ActualRadius = 0;
            //ActualPoint = new Point();
            }
        }
    }
